<%@ page contentType="text/html; charset=UTF-8" language="java"%>
<%@ include file="/inc/includemobile.jsp"%>
<html>
	<body leftmargin="0" topmargin="0" class="mobile"><br>
		<display:table name="list" requestURI="/cnaps/bankManage!bankHeadList.do" class="list" id="row" pagesize="${param.page_num }"
				cellspacing="1" style="width:100%" cellpadding="0" export="true" 
				size="size" partialList="true" decorator="com.icss.taglib.display.OverOutWrapper">
			<display:column title="序号"  media="html">
				<c:out value="${row_rowNum+beginIndex}" />
			</display:column>
			<display:column title="类别" property="type"/>
			<display:column title="名称" property="bh_name"/>
			<display:column title="行别代码" property="type_code"/>
		</display:table>
	</body>
<script type="text/javascript">
  function editBank(bank_id,method)
  {
    　 MyWindow.OpenCenterWindow('/cnaps/bankManage!edit.do?method='+method+'&bank_id='+bank_id,'bankmanage',570,600);
  }
  
  function deleteUser(bank_id){
	if(!confirm('确定要删除吗？')){
		return false;
	}
  	var params='bank_id='+bank_id;
  	var url ="/cnaps/bankManage!delete.do";
  	var result = new MyJqueryAjax(url,params).request();
  	if(result==1){
  		alert('删除成功！');
  		window.parent.form1.submit();
  	}else{
  		alert('删除失败！');
  		return false;
  	}
  }
  
</script>
</html>
